]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
build: Add missing dependency to run-js-test
authorJan Tojnar <jtojnar@gmail.com>
Mon, 18 Sep 2017 23:05:13 +0000 (01:05 +0200)
committerFlorian Müllner <florian.muellner@gmail.com>
Sat, 21 Mar 2020 02:58:17 +0000 (02:58 +0000)
run-js-test requires girepository.h header file which is provided
by gobject-introspection. gobject-introspection is required by gjs,
another of our dependencies, so, usually, the header gets included
by inheriting the cflags from there but some distros interpret
pkg-config fields more strictly[1] so that will not be the case there.

Listing direct dependencies explicitly is a good practice any way
so let’s do that.

[1]: https://bugs.freedesktop.org/show_bug.cgi?id=105572

https://bugzilla.gnome.org/show_bug.cgi?id=787864
https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1114

src/meson.build

index 05bdb9beabab657201f9fe23b45dcf1f14c9bd88..46680d5b42ab0cc3f85f5782811f362fe2914e91 100644 (file)
@@ -268,7 +268,7 @@ executable('gnome-shell-perf-helper', 'shell-perf-helper.c',
 )
 
 executable('run-js-test', 'run-js-test.c',
-  dependencies: [mutter_dep, gio_dep, gjs_dep],
+  dependencies: [mutter_dep, gio_dep, gi_dep, gjs_dep],
   include_directories: [conf_inc],
   link_with: libshell,
   build_rpath: mutter_typelibdir,